<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <th:block th:include="tpl :: common_head()"></th:block>
</head>
<body th:object="${obj}" style="width: 40%;height: 40%;">
<form class="form" style="width: 500px;height: 500px;margin-left: 19px">
    <fieldset style="border: solid 0px #e7e7eb;">
        <legend>详情</legend>
        <dl>
            <dt>订单编号</dt>
            <dd>
                <input type="text" th:field="*{code}" data-verify="required(1)" disabled/>
            </dd>
            <dt>最早转移时间</dt>
            <dd>
                <input type="text"  data-verify="required(1)" th:value="*{transferStart==null?null:#dates.format(transferStart,'yyyy-MM-dd')}" disabled/>
            </dd>
            <dt>最晚转移时间</dt>
            <dd>
                <input type="text" th:value="*{transferEnd==null?null:#dates.format(transferEnd,'yyyy-MM-dd')}" data-verify="required(1)" disabled/>
            </dd>
            <dt>是否紧急</dt>
            <dd>
                <input type="text" th:value="*{isUrgent==0?'否':'是'}" data-verify="required(1)" disabled/>
            </dd>
            <dt>备注</dt>
            <dd>
                <input type="text" th:field="*{notes}" data-verify="required(1)" disabled/>
            </dd>
            <dt>运输距离</dt>
            <dd>
                <input type="text" th:field="*{distance}" data-verify="required(1)" disabled/>
            </dd>
            <dt>支付方</dt>
            <dd>
                <input type="text"  th:value="*{payer==0?'经营方':'支付方'}" data-verify="required(1)" disabled/>
            </dd>
            <dt>运输费用</dt>
            <dd>
                <input type="text" th:field="*{transportFees}" data-verify="required(1)" disabled/>
            </dd>
            <dt>抵达产废单位时间</dt>
            <dd>
                <input type="text" th:value="*{arrivalTime==null?null:#dates.format(arrivalTime,'yyyy-MM-dd')}" data-verify="required(1)" disabled/>
            </dd>
            <dt>车牌号</dt>
            <dd>
                <input type="text" th:field="*{carNumber}" data-verify="required(1)" disabled/>
            </dd>
            <dt>实际转移时间</dt>
            <dd>
                <input type="text"  th:value="*{actualTransferTime==null?null:#dates.format(actualTransferTime,'yyyy-MM-dd')}" data-verify="required(1)" disabled/>
            </dd>
            <dt>订单完成时间</dt>
            <dd>
                <input type="text" th:value="*{completeTime==null?null:#dates.format(completeTime,'yyyy-MM-dd')}" data-verify="required(1)" disabled/>
            </dd>
        </dl>
    </fieldset>
</form>
</body>

<style>
    .form dt {
        width: 135px;
    }
</style>
</html>